package com.yesep.learn.design.structural.bridge;


import com.yesep.learn.design.common.*;

public abstract class Game<T extends IRace> {

    protected T player;

    public T getPlayer() {
        return player;
    }

    public void setPlayer(T player) {
        this.player = player;
    }


    public abstract void run(int speed);
}
